package com.xcb.spring.demo.service;

import com.xcb.spring.beans.Autowired;
import com.xcb.spring.beans.Component;

import java.util.HashMap;
import java.util.Map;

@Component("userService")
public class UserServiceImpl implements UserService{


    @Autowired
    private OrderService orderService;

    @Override
    public Object getUser() {
        Map<String,Object> user = new HashMap<String, Object>();
        user.put("name","xiaochangbai");
        user.put("email","704566072@qq.com");
        return user;
    }
}
